package mvc;


public class Department {
	private Integer id;
	private String name;
	private String type;
	private String telephone;
	private String fax;
	private String description;
	private String predepartment;
	private String date;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getFax() {
		return fax;
	}
	public void setFax(String fax) {
		this.fax = fax;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getPredepartment() {
		return predepartment;
	}
	public void setPredepartment(String predepartment) {
		this.predepartment = predepartment;
	}
	public String getDate() {
		return date.substring(0, 10);
	}
	public void setDate(String date) {
		this.date = date.substring(0, 10);
	}
}
